<?php
// Insert your keys/tokens
$consumerKey    = 'B0wgOJpVd3CnWIYGzD1JpA';
$consumerSecret = 'XaKwaSI7tn7CQKUN4TnaLaOdgg6puyxqEi2eDa18D6s';
$oAuthToken     = '18760689-qHmYRMOEzoLoN1m3CGILjCFNO7yXvk9M1TyAvVBiU';
$oAuthSecret    = 'zFEDobbyNsAEBnq1ulYtD709JbIgp0M0kpxBTl5ZWU';
// Full path to twitteroauth.php (change oauth to your own path)
require_once('twitteroauth.php');

// create new instance
$tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret);

// Your Message
$message = "This is a test message ". time();

// Send tweet 
//$tweet->post('statuses/update', array('status' => "$message"));
$x = $tweet->get('account/rate_limit_status');

print_r($tweet);
print_r($x);
?>

 /1/account/rate_limit_status.json